package com.shuaidong.site.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;

import com.shuaidong.site.entity.SysMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 * SysMenu 表数据库控制层接口
 *
 */
public interface SysMenuMapper extends BaseMapper<SysMenu> {
	/**
	 * @param uid
	 * @return
	 */

	List<String> selectMenuIdsByuserId(String uid);

	List<String> selectResourceByUid(@Param("uid") String uid);

	List<SysMenu> selectMenusByMenuIdsAndPid(@Param("list") List<String> menuIds,@Param("pid") String pid);








}